//
//  SchoolTableViewCell.m
//  Comma
//
//  Created by 杜远洋 on 15-1-20.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "SchoolTableViewCell.h"
#import "GlobalMacro.h"
@implementation SchoolTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.schoolName = [[UILabel alloc] initWithFrame:CGRectMake(0, 8, self.frame.size.width, 14)];
        [self.schoolName setBackgroundColor:[UIColor clearColor]];
        [self.schoolName setFont:[UIFont systemFontOfSize:14]];
        [self.schoolName setTextColor:BLACKCOLOR];
        [self.contentView addSubview:self.schoolName];
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.schoolName.frame = CGRectMake(0, 8, self.frame.size.width, 14);
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
